package groupby.model;

/**
 * GroupCriticism entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class GroupCriticism implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer groupbyId;
	private Integer userId;
	private String content;
	private String datetime;
	private Integer flag;
	private String url;

	// Constructors

	/** default constructor */
	public GroupCriticism() {
	}

	/** full constructor */
	public GroupCriticism(Integer groupbyId, Integer userId, String content,
			String datetime, Integer flag, String url) {
		this.groupbyId = groupbyId;
		this.userId = userId;
		this.content = content;
		this.datetime = datetime;
		this.flag = flag;
		this.url = url;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGroupbyId() {
		return this.groupbyId;
	}

	public void setGroupbyId(Integer groupbyId) {
		this.groupbyId = groupbyId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDatetime() {
		return this.datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public Integer getFlag() {
		return this.flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}